package equipments.enumeration;

import systems.languages.MultiLanguages;

/**
 * Provides all the different key for identify all the accessories Slots.
 * @author Baptiste Legrand & Benjamin Orman
 * @version 2.0
 */
public enum AccessoriesSlots implements EquipmentSlots{
  HEAD, RING_1, RING_2, NECKLACE, EARRING_1, EARRING_2, BELT;

  @Override
  public EquipmentSlots getSlot(String value) {
    return AccessoriesSlots.valueOf(value);
  }
  
  @Override
  public String toString(EquipmentSlots equipment) {
    return MultiLanguages.getProperties("slots."+equipment+".label");
  }
}